#ifndef SETMRTSCONFIG_H
#define SETMRTSCONFIG_H

#include <QChart>
#include <QChartView>
#include <QWidget>
#include "algorithmsitem.h"
#include "drawgraph.h"
#include "resulttable.h"
namespace Ui {
class setmrtsConfig;
}

class setmrtsConfig : public QWidget
{
    Q_OBJECT

public:
    explicit setmrtsConfig(QWidget *parent = nullptr);
    ~setmrtsConfig();

    void generateXmlFromInputFields(QWidget *window);
private slots:

    void on_schedulability_test_clicked();

    void on_graph_clicked();

    void on_analysis_clicked();

    void on_xml_clicked();

    void on_showTable_clicked();

private:
    // 创建图表和视图
    Ui::setmrtsConfig *ui;
    algorithmsItem algorithmsItemUi;
    DrawGraph *drawGraph;
    ResultTable *resultTable;
};

#endif // SETMRTSCONFIG_H
